<!DOCTYPE html>
<html lang="en">
  <head>
    <meta charset="utf-8" />
    <meta http-equiv="X-UA-Compatible" content="IE=edge" />
    <meta name="viewport" content="width=device-width,initial-scale=1.0" />
    <title><%= htmlWebpackPlugin.options.title %></title>
    <link rel="icon" href="/favicon.ico" />

    <% if (!!htmlWebpackPlugin.options.v5options.css && !!htmlWebpackPlugin.options.v5options.css.length)
        { %> <% htmlWebpackPlugin.options.v5options.css.forEach(function(item){%>
        <link href="<%= item %>" rel="stylesheet" />
        <% }) %> <% } %> 
    
  </head>
  <body>
    <% if (!!htmlWebpackPlugin.options.v5options.js &&
    !!htmlWebpackPlugin.options.v5options.js.length) { %> <%
    htmlWebpackPlugin.options.v5options.js.forEach(function(item){%>
    <script src="<%= item %>" type="text/javascript"></script>
    <% }) %> <% } %>
    <!-- 自定义html模版 -->
    <div id="app"></div>
  </body>

</html>
